Maybe you were looking for...

How to upload default picture if user delete the picture?

So, i want to make if user click the delete button the picture profile will be user.jpg (this is default picture). enter image description here here is my contr

TypeError: expected str, bytes or os.PathLike object, not int. In python, when I add some inputs and some function have to use it

Im new at coding and I'm doing a code for algorithms with a request matrix. I'm seeing this error when I add the code with the ***. Context: I'm doing an input

Mysql compound foreign key

I need to set up compound foreign key in Mysql. I think everything is set up properly but I am getting error. This is table definition dump: CREATE TABLE `media

How to add the serializer sample response with custom response parameter in drfyasg swagger docs?

ViewSet class LoginAPI(generics.GenericAPIView): serializer_class = LoginSerializer def post(self, request): serializer = self.get_serializer(d

Can we put condition on REST API

I was giving hackerrank test where I got this problem. Problem was to find number of football matches that are draw. i.e data[index]['team1goals']==data[index][

is there any way to change order an item of ReorderableListView programmatically in flutter?

is there any way to change order an item of ReorderableListView programmatically in flutter? i didnt find anything about it on web. all sources talk about user

.net version 6.0.300 Optimizing assemblies for performance is not supported for the selected target platform or architecture

When migrating from .net 5 to .net 6 I run into similar issue as described here https://github.com/dotnet/sdk/issues/24269, except in my case the build fails wi

How do I get a function to return the frequency of a specific item from a dictionary?

I trying to create a program that combines C++ and Python that opens and reads a text file of grocery items. The first function ListItemsPurchased works and it

How to use both the text color and foreground color properties together

I would like to know if there's any way to first set the text color of a text and then apply a stroke color to it using the foreground property. I'm looking to